import { get, post } from '@/utils/request'

// 专场添加
export const addSpecialSession = (query) => {
  return post('/admin/ssSession/add', query)
}
// 专场修改
export const editSpecialSession = (query) => {
  return post('/admin/ssSession/edit', query)
}
// 专场列表
export const listSpecialSession = (query) => {
  return get('/admin/ssSession/list', query)
}
// 发布
export const publishSpecialSession = (query) => {
  return post('/admin/ssSession/publish', query)
}
// 发布
export const unPublishSpecialSession = (query) => {
  return post('/admin/ssSession//unPublish', query)
}

// 岗位批量发布
export const postOnline = (query) => {
  return post('/admin/ssSession/postOnline', query)
}
// 岗位批量关闭
export const postOutline = (query) => {
  return post('/admin/ssSession/postOutline', query)
}
// 删除
export const delSpecialSession = (query) => {
  return get('/admin/ssSession/delete', query)
}
// 专场招聘-删除投递
export const dropInfoById = (query) => {
  return post('/admin/entryInfo/dropInfoById', query)
}
// 专场招聘-人才
export const userList = (query) => {
  return get('/admin/entryInfo/getUserList', query)
}
// 专场招聘-统计
export const dataList = (query) => {
  return get('/admin/ssSession/getDataInfo', query)
}
